package Day10.extend02;

public class Demo02 {
    public static void main(String[] args) {

        Teacher teacher = new Teacher();
        teacher.setName("老王");
        teacher.teach();
    }
}
